/**
 * @date 2017年7月11日
 * @Author SeppSong
 */
package com.zhys.controller;

import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.zhys.service.ItestService;

/**
 * @author SeppSong
 *
 */
@Controller
public class BaseController {
	
	private final static Logger logger = LoggerFactory.getLogger(BaseController.class);
	
	@Autowired
	@Qualifier("TestServiceImpl")
	private ItestService testServiceImpl;
	
	@RequestMapping(value = "/hello")
	public String hello(){
		Map<String, Object> userMap = testServiceImpl.getUser("18753260238");
		logger.info(userMap.toString());
		return "hello";
	}
}
